package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * TODO
 *
 * @Author mr.Du
 * @Date 2025/6/2 2025/6/2
 */
public interface ShoppingCartService extends IService<ShoppingCart> {

    /**
     * 添加购物车
     * @param dto
     */
    void add(ShoppingCartDTO dto);

    /**
     *查看购物车
     */
    List<ShoppingCart> shoppingCartList();


    /**
     * 清空购物车
     */
    void clean();

}
